package yang.yu.sunny.domain;

import java.io.Serializable;

/**
 * Created by yyang on 16/3/29.
 */
public abstract class AbstractEntity implements Serializable {

    private Long id;

    private int version;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }
}
